From 4470e5bc93b56701842786931aca418b3e966eba Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 12 Dec 2019 18:46:53 -0500 Subject: [PATCH] gtk-demo: Some touchups Make the theming style classes demo look a bit less odd. --- demos/gtk-demo/fontrendering.ui | 7 +- demos/gtk-demo/iconscroll.ui | 9 +- demos/gtk-demo/scale.ui | 20 +- demos/gtk-demo/themes.ui | 395 ++++++++++++------------- demos/gtk-demo/theming.ui | 2 + demos/widget-factory/widget-factory.ui | 88 +++--- 6 files changed, 263 insertions(+), 258 deletions(-) diff --git a/demos/gtk-demo/fontrendering.ui b/demos/gtk-demo/fontrendering.ui index 59e24ff825..8803dbd7dc 100644 --- a/demos/gtk-demo/fontrendering.ui +++ b/demos/gtk-demo/fontrendering.ui @@ -165,10 +165,11 @@ - horizontal center center - + 0 @@ -183,7 +184,7 @@ - 0 + 0 3 7 diff --git a/demos/gtk-demo/iconscroll.ui b/demos/gtk-demo/iconscroll.ui index e9bf7d8a95..f1ae6415b2 100644 --- a/demos/gtk-demo/iconscroll.ui +++ b/demos/gtk-demo/iconscroll.ui @@ -31,9 +31,12 @@ never - automatic - - + + + + + + diff --git a/demos/gtk-demo/scale.ui b/demos/gtk-demo/scale.ui index b9c12059b9..ff0119a623 100644 --- a/demos/gtk-demo/scale.ui +++ b/demos/gtk-demo/scale.ui @@ -75,11 +75,11 @@ adjustment2 1 - - - - - + + + + + @@ -115,11 +115,11 @@ - - - - - + + + + + 1 diff --git a/demos/gtk-demo/themes.ui b/demos/gtk-demo/themes.ui index db6f1ebf98..97de0278ba 100644 --- a/demos/gtk-demo/themes.ui +++ b/demos/gtk-demo/themes.ui @@ -6,236 +6,235 @@ 1 - - + - - 10 - 10 - vertical - - - 1 - 0 - - - - 1 - Normal - 1 - 1 - edit-find - - - - - 1 - Active - 1 - 1 - edit-find - 1 - - + + 10 + 10 + vertical - - 1 - 0 - Insensitive - 1 - 1 - edit-find - - - - - 1 - Raised - 1 - 1 - edit-find + + 1 + 0 + + + 1 + Normal + 1 + 1 + edit-find + + + + + 1 + Active + 1 + 1 + edit-find + 1 + + + + + 1 + 0 + Insensitive + 1 + 1 + edit-find + + + + + 1 + Raised + 1 + 1 + edit-find + + + + + + 1 + Raised Active + 1 + 1 + edit-find + 1 + + + + + + 1 + 0 + Insensitive Active + 1 + edit-find + 1 + 1 + + + + + + + 1 + 10 + • + Search... + edit-find-symbolic + + + + + + + + + 1 + center + Switch it + + + + - - 1 - Raised Active - 1 - 1 - edit-find - 1 + + center + center - - - - - 1 - 0 - Insensitive Active - 1 - edit-find - 1 - 1 - - - - - + + Hi, I am a button 1 - 10 - • - Search... - edit-find-symbolic + 1 - - - - - + + And I'm another button 1 - center - Switch it + 1 + + + + + This is a button party! + 1 + 1 - - - - - - - center - center - - - - Hi, I am a button - 1 - 1 - - - - - And I'm another button - 1 - 1 - - - - - This is a button party! - 1 - 1 - - - - - - - 1 - icons - - - - 1 - Normal - 1 - list-add-symbolic - - - - - 1 - Normal - 1 - list-add-symbolic - - - - - 1 - Active - 1 - list-remove-symbolic - 1 - - - - - 1 - Active - 1 - list-remove-symbolic - 1 - - - - - 1 - 0 - Insensitive - 1 - edit-find-symbolic - - 1 - 0 - Insensitive Active - 1 - go-up-symbolic - 1 - - - - - - - 10 - - - Plain - end + 1 - 1 - - - - - Destructive + icons + + + 1 + Normal + 1 + list-add-symbolic + + + + + 1 + Normal + 1 + list-add-symbolic + + + + + 1 + Active + 1 + list-remove-symbolic + 1 + + + + + 1 + Active + 1 + list-remove-symbolic + 1 + + + + + 1 + 0 + Insensitive + 1 + edit-find-symbolic + + + + + 1 + 0 + Insensitive Active + 1 + go-up-symbolic + 1 + + - - Suggested - + + 10 + + + Plain + end + 1 + 1 + + + + + Destructive + + + + + + Suggested + + + - - diff --git a/demos/gtk-demo/theming.ui b/demos/gtk-demo/theming.ui index c2ee74eb7b..3e529eae25 100644 --- a/demos/gtk-demo/theming.ui +++ b/demos/gtk-demo/theming.ui @@ -2,6 +2,7 @@ 10 + 10 vertical @@ -92,6 +93,7 @@ 1 + center Switch it diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui index 0f061c83e3..6814398865 100644 --- a/demos/widget-factory/widget-factory.ui +++ b/demos/widget-factory/widget-factory.ui @@ -3692,50 +3692,50 @@ bad things might happen. - basement - - - vertical - - - Basement - title - main - - - - - - - - Berk - app.berk - basement-indicators - - - - - Broni - app.broni - basement-indicators - - - - - Drutt - app.drutt - basement-indicators - - - - - The Thing Upstairs - app.upstairs - basement-indicators - - - - + basement + + + vertical + + + Basement + title + main + + + + + + + + Berk + app.berk + basement-indicators + + + + + Broni + app.broni + basement-indicators + + + + + Drutt + app.drutt + basement-indicators + + + + + The Thing Upstairs + app.upstairs + basement-indicators + + + + -- 2.30.2